In the below program, I wonder what it means by a[i][j]=2 and why they have used this. Does it mean value of a[i][j]=2, then how come that value..i'm confused
Code:int main (void) { int a[3][2]; int i,j; for (i=0; j<3; i++) for (j=0; j<2; j++) a[i][j] =2; for (i=0; i<3; i++) for (j=0; j<2; j++) printf ("value in array %d\n", a[i][j]); for (i=0; i<3; i++) for (j=0; j<3; j++) print ("value in array %d and address is %P\n", a[i][j], (void*) &a[i][j]); return 0; }